package activities.sample;

import model.advertisers.Advertiser;
import model.advertisers.Leboncoin;
import model.domain.Advert;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class SendToHyperlink extends Activity {

		/** Called when the activity is first created. */
		@Override
		public void onCreate(Bundle savedInstanceState) {
			super.onCreate(savedInstanceState);
		//	setContentView(R.layout.main);

			

		}

		public void myClickHandler(View view) {
			
			String url = "http://www.google.fr";
	        Intent i = new Intent(Intent.ACTION_VIEW);
	        i.setData(Uri.parse(url));
	        startActivity(i);

		}


	

}
